//
//  LKTestpageNewBottomCell.m
//  YLHelper
//
//  Created by she1323 on 2018/5/10.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKTestpageNewBottomCell.h"

@implementation LKTestpageNewBottomCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self setLabelContent];
    // Initialization code
}
-(void)setLabelContent{
    self.titleLabel.text = @"【选择题】这是一个不好玩的事儿打卡；来的拉大妈妈吃辣马上来美联储；美丽聪明了马上拉什么才拉出马黎明路撒参谋参谋拉萨出门";
    self.Alabel.text = @"A:";
    self.Blabel.text = @"B:";
    self.CLabel.text = @"C:";
    self.Dlabel.text = @"D:";
    NSMutableAttributedString *attri = [[NSMutableAttributedString alloc] initWithString:@"正确答案:A"];
    [attri addAttribute:NSForegroundColorAttributeName value:blueDefault range:NSMakeRange(0, 4)];
    [attri addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:15] range:NSMakeRange(0, 4)];
    NSMutableAttributedString *attri1 = [[NSMutableAttributedString alloc] initWithString:@"答案解析:打瞌睡了的拉动卡了；扩大；打卡；来的拉大妈妈吃辣马上来美联储；美丽聪明了马上拉什么才拉出马黎明路撒参谋参谋拉萨出门"];
    [attri1 addAttribute:NSForegroundColorAttributeName value:blueDefault range:NSMakeRange(0, 4)];
    [attri1 addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:15] range:NSMakeRange(0, 4)];
    self.answerLabel.attributedText = attri;
    self.analysicLabel.attributedText = attri1;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
